package com.kehutong.contact.service;

import com.kehutong.common.util.Token;
import com.kehutong.contact.entity.ContactDynamics;
import com.kehutong.contact.service.impl.ContactDynamicsServiceImpl;
import org.coraframework.inject.ImplementedBy;
import org.coraframework.json.JSONObject;
import org.coraframework.orm.jdbc.Page;

/**
 * @author liujinwang
 * description:
 */
@ImplementedBy(ContactDynamicsServiceImpl.class)
public interface ContactDynamicsService {
    Page<ContactDynamics> page(JSONObject jsonObject);

    Object list(JSONObject jsonObject);

    Object save(Token token, JSONObject jsonObject) throws Exception;

    Object update(ContactDynamics contactDynamics) throws Exception;

    Object delete(ContactDynamics contactDynamics) throws Exception;
}
